if "%programfiles(x86)%XXX"=="XXX" goto 32BIT
echo 64-bit Windows installed
rundll32 %windir%\syswow64\WINPSTC.dll RemoveFromMAPISVC
del  %windir%\syswow64\WINPSTC.dll
del  %windir%\syswow64\WINPSTC.pdb
goto END

:32BIT
echo 32-bit Windows installed
rundll32 %windir%\system32\WINPSTC32.dll RemoveFromMAPISVC
del  %windir%\system32\WINPSTC32.dll
del  %windir%\system32\WINPSTC32.pdb

:END
pause

